home *** CD-ROM | disk | FTP | other *** search
- LOADRESOURCE
-
- Preloads resources into memory to avoid excessive disk swaps.
-
- Format
-
- LOADRESOURCE {<name>} [LOCK | UNLOCK]
-
- Template
-
- NAME/M,LOCK/S,UNLOCK/S
-
- Location
-
- C:
-
- LOADRESOURCE reduces the need for excessive disk swaps on floppy-only systems
- by preloading the following of resources into memory:
-
- Libraries
-
- Specify the path name to the library.
-
- Devices
-
- Specify the path name to the device; you cannot LOCK devices into memory.
-
- Fonts
-
- Specify the path name to the exact font file to be loaded.
-
- Catalogs
-
- Specify a path name as LOCALE:Catalogs/<language>/Sys/<catalog>.
-
- The {<name>} option specifies the paths of the resources to load. The LOCK
- option tells the command to lock resources, such as libraries, fonts, and
- catalogs, into memory. This prevents the system from flushing the resource
- from RAM if memory is low. Although you can preload devices into memory using
- LOADRESOURCE, you cannot force them to stay in memory using the LOCK option.
- The UNLOCK option tells the command to unlock the resource from memory,
- allowing it to be flushed from RAM.
-
- Entering LOADRESOURCE with no options lists all the LOCKed resources in RAM.
-
- Example 1:
-
- LOADRESOURCE LIBS:asl.library
-
- loads asl.library into memory. The system can flush this library from RAM the
- next time it runs low on memory, unless the LOCK option is included in the
- command line.
-
- Example 2:
-
- LOADRESOURCE FONTS:topaz/11
-
- loads the Topaz 11 font into memory.
-
- Example 3:
-
- LOADRESOURCE LOCALE:Catalogs/English/Sys/monitors.catalog
-
- is a valid path name.
-